package org.light.utils;

import org.light.domain.Domain;
import org.light.domain.Type;

public class TypeUtil {
	public static boolean isNumeric(Type type){
		if (type.getTypeName().equals("int")||type.getTypeName().equals("int32")||type.getTypeName().equalsIgnoreCase("int64")||type.getTypeName().equalsIgnoreCase("float")||
				type.getTypeName().equalsIgnoreCase("float32")||type.getTypeName().equalsIgnoreCase("float64")){
			return true;
		}else {
			return false;		
		}		
	}
}
